package com.bilgeadam.generictypes.program;

/**
 *
 * @author Bora SAYINER
 * @since Dec 13, 2014 10:27:30 AM
 * @version 1.0
 */
public class GenericEmployee<T extends Number> {

	private T id;
	private String firstName;
	private String lastName;

	public T getId() {
		return id;
	}

	public void setId(T id) {
		this.id = id;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Override
	public String toString() {
		return "GenericEmployee [id=" + id + ", firstName=" + firstName
				+ ", lastName=" + lastName + "]";
	}

}
